package src.com.doit.Demo11;

public abstract class Employee {
    private String id;//id
    private String name;//name
    private double wage;//工资
    public abstract void calculateWage();//计算工资

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getWage() {
        return wage;
    }

    public void setWage(double wage) {
        this.wage = wage;
    }


    public Employee() {

    }

    public Employee(String id, String name, double wage) {

        this.id = id;
        this.name = name;
        this.wage = wage;
    }
}
